1、功能说明
    1、ATIM1输出4对互补波形

2、使用环境
    软件开发环境：KEIL MDK-ARM V5.34
    软件开发环境：IAR EWARM 8.50.1

    芯片支持：
        N32H785
        N32H785xxxEC
        N32H787

3、使用说明
    系统配置；
        1、时钟源：HSI+PLL
        2、系统时钟频率：
            M7核: 600MHz M4核 300MHz
        3、端口配置：
            PA8选择为ATIM1 CH1输出
            PA9选择为ATIM1 CH2输出
            PA10选择为ATIM1 CH3输出
            PE14选择为ATIM1 CH4输出
            PB13选择为ATIM1 CH1N输出
            PB14选择为ATIM1 CH2N输出
            PB15选择为ATIM1 CH3N输出
            PD10选择为ATIM1 CH4N输出 
            PA6选择为刹车输入
        4、TIM：
            ATIM1 4对互补输出带死区，PA6刹车

    使用方法：
        1、将78x的GPIO的LedBlink demo和当前CM4的工程程序分别编译后下载到开发板并复位运行
        2、编译后打开调试模式，用示波器或者逻辑分析仪观察ATIM1的波形
        3、PA6拉低可观察到4对互补PWM，PA6拉高PWM消失

4、注意事项
     默认情况下，开发板的PA9和PA10跳线帽连接到NSLINK的虚拟串行端口。如果PA9和PA10未用作项目中的串行端口，而是用于其他用途，则必须拔掉串行端口跳线帽。
    
1. Function description
     1. ATIM1 outputs 4 complementary waveforms

2. Development environment
    Software development environment: KEIL MDK-ARM V5.34
    Software development environment: IAR EWARM 8.50.1

    Supported chips:
        N32H785
        N32H785xxxEC
        N32H787

3. How to use
   System Configuration:
        1. Clock source: HSI+PLL
        2. System Clock frequency: 
            M7 Core:     600MHz  M4 Core:     300MHz
        3. Port configuration:
            PA8 is selected as ATIM1 CH1 output
            PA9 is selected as ATIM1 CH2 output
            PA10 is selected as ATIM1 CH3 output
            PA11 is selected as ATIM1 CH4 output
            PB13 is selected as ATIM1 CH1N output
            PB14 is selected as ATIM1 CH2N output
            PB15 is selected as ATIM1 CH3N output
            PD10 is selected as ATIM1 CH4N output
            PA6 is selected as break input
        4. TIM:
            ATIM1 4-pair complementary with dead zone, PA6 is brake input
     Instructions:
        1. Compile the LedBlink demo for 78x's GPIO and the current CM4 project program respectively, 
            then download them to the development board and reset to run；
        2. After compiling, turn on the debug mode, and use an oscilloscope or logic analyzer to observe the waveform of ATIM1
        3. When PA6 is low, 4 complementary PWM can be observed, and when PA6 is high, PWM disappears
4. Attention
        By default, the PA9 and PA10 jumper caps of the development board are connected to the virtual serial port of NSLINK. If PA9 and PA10 are not used as serial ports in the project, and are used for other purposes, the serial port jumper caps must be unplugged.


